﻿namespace ICMRemoteEdu
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;

    [Serializable]
    public class ICMQuestion : ICMObject
    {
        private List<ICMAnswer> _answers;

        public ICMQuestion()
        {
            this._answers = new List<ICMAnswer>();
        }

        public ICMQuestion(string text) : base(text)
        {
            this._answers = new List<ICMAnswer>();
        }

        [DisplayName("Ответы")]
        public List<ICMAnswer> Answers
        {
            get
            {
                return this._answers;
            }
        }
    }
}

